home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
036a
/
pmfinder.zip
/
PMFINDER.DOC
< prev
next >
Wrap
Text File
|
1991-12-05
|
4KB
|
105 lines
DISCLAIMER
----------
The Program is supplied "AS IS" without any warranty of any kind,
either expressed or implied, including, but not limited to, the
implied warranties of merchantability and fitness for a particular
purpose.
In no event shall Robert Mahoney be liable for any damages, either
direct or consequential, caused by the use, or inability to use,
this program, even if Robert Mahoney has been advised of the
possibility of such damages.
INTRODUCTION
------------
I had the source code to a single-threaded PM file finder and quite
a while ago make it multi-threaded. I didn't bother to release it
because it looked like others had already done so. I recently got
the source to a DOS file finder that searches inside archives. I
added that functionality to the PM file finder and since I haven't
seen any others that do this I decided to release it along with
the source code.
ACKNOWLEDGEMENTS
----------------
The original file finder code was written by Jerry Weldon.
The archive search comes from a DOS file finder by Don A. Williams.
The listbox's colored text are from Pete Fitzsimmons's
PMSNOOP.
All I did was put them together.
INSTRUCTIONS
------------
Place PMFINDER.EXE on your PATH.
At a command prompt type "start PMFINDER"
or put PMFINDER.EXE as an entry in one of your groups.
USAGE
-----
Start PMFINDER or run it from a group.
Enter the file mask you would like to search for in the PATTERN field
Check box if you want to search archive files.
Select archive files you would like to select and whether you
want to search *only* archive files or *also* archvive file along
with regular files.
Press SEARCH.
The SEARCH Button now changes to STOP.
Regular files show up BLUE on WHITE.
Files inside ZIPs show up RED on WHITE.
Files inside LZHs show up BLACK on WHITE.
Files inside ARCs and PAKs show up GREEN on WHITE.
Errors show up BLACK on CYAN
To prematurely end the search press STOP.
The STOP Button now changes to SEARCH.
BUGS/LIMITATIONS
----------------
1) When you run out of memory adding items to the listbox
you will get two message boxes saying that you are out of
memory. One from the regular file search thread and one from
the archive threads. This does not happen when you do an archive
only search. I'm sure it is an easy fix but I'm out of time.
2) There are some limitations with large ZIP file searching. It is
documented in the ZIP.C file.
3) The worker threads should be changed to non-message queues.
This is documented in the file SCAN.C. It was just a quick
and easy way to avoid posting messages and using a circular buffer.
This is left to the enterprising programmer. Not a big job, it
is well implemented in Stephen Best's OS/2 Threads Cookbook
available on BIX and OS/2 Shareware BBS as COOKBO.ZIP.
4) The original DOS file finder by Don A. Williams also can search
inside ZOO archives. Since I had no ZOO files to test, I didn't
add it. I did add Don's ZOO code to the PMFINDER archive.
Again, a simple exercise for the motivated programmer.
5) The same code is used for ARC and PAK. I was unable to test this
because I have no PAK files.
6) PMFINDER crashes while checking invalid LZH files. There seems like
there is no way to check to see if the LZH file has a vaild header.
Then again, I really didn't spend anytime looking at this.
7) The header files are real convoluted. I didn't get a chance to
use #IFDEFs and get them into shape.
8) Sometimes the color of the listbox items initially display as
an incorrect color. If you click on it or scroll it will display
the correct color. I have no clue why.
If anyone has some comments or improvements,
I can be reached on:
Fidonet OS/2 echos: OS/2 Shareware (1:109/347)
703-385-0931 (HST DS)
703-385-4325 (HST DS)
BIX as RMAHONEY
Robert Mahoney
27 East Jackson Ave
Babylon, New York 11702